﻿using LimaLims.Application.Service.TestCenter.Dto;
using LimaLims.Core;
using Microsoft.AspNetCore.Mvc;

namespace LimaLims.Application.Service.TestCenter
{
    public interface IExperimentTaskService
    {

        /// <summary>
        /// 开工
        /// </summary>
        Task Startwork(long id);
        /// <summary>
        /// 报工
        /// </summary>
        Task Completed(CompletedInput completedInput);

        Task<ExperimentTaskDetail> Detail(long id);

        /// <summary>
        /// 任务进度
        /// </summary>
        /// <returns></returns>
        Task<List<ExperimentTaskStepDetail>> GetTaskStepDetail(long id);

        Task<PageResult<ExperimentTaskOutput>> QueryPage([FromQuery] ExperimentTaskPageInput input);
    }
}
